package Framework.Protocol
{
	import Framework.Util.*;
	import flash.utils.*;
	
	public interface IProtocol
	{
		
		public function IProtocol();
		
		function handleData(byte:ByteArray, businesshandler:IBusinessHandler, iohandler:IIOHandler, ibusinesshandler:IBusinessHandler) : int;
		
		function sendDataEncrypt(byte:ByteArray, iohandler:IIOHandler) : Boolean;
		
		function clear() : void;
		
	}
}
